#include "common.h"

#ifdef USE_SFB
#include "speedfeedback.h"

static volatile uint counter=0;

void sfb_interrupt(void) interrupt SFBINTERRUPTINTID
{
	counter++;
}

uint SFB_GET()
{
	return counter;
}

void SFB_CLEAR() {
	counter=0;
}
#endif

